3.446 \(\int x^2 \sqrt {a+b x^3} (c+d x+e x^2+f x^3+g x^4) \, dx\)

Optimal. Leaf size=681 \[ \frac {12 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{7/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{91 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {24 a^2 e \sqrt {a+b x^3}}{91 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {4\ 3^{3/4} \sqrt {2+\sqrt {3}} a^2 \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (-1870 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-728 a g+1547 b d\right ) F\left (\sin ^{-1}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{85085 b^{7/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2 a \sqrt {a+b x^3} (5 b c-2 a f)}{45 b^2}+\frac {6 a x \sqrt {a+b x^3} (17 b d-8 a g)}{935 b^2}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b} \]

[Out]

2/45*a*(-2*a*f+5*b*c)*(b*x^3+a)^(1/2)/b^2+6/935*a*(-8*a*g+17*b*d)*x*(b*x^3+a)^(1/2)/b^2+6/91*a*e*x^2*(b*x^3+a)
^(1/2)/b+2/45*a*f*x^3*(b*x^3+a)^(1/2)/b+6/187*a*g*x^4*(b*x^3+a)^(1/2)/b+2/109395*x^2*(6435*g*x^5+7293*f*x^4+84
15*e*x^3+9945*d*x^2+12155*c*x)*(b*x^3+a)^(1/2)-24/91*a^2*e*(b*x^3+a)^(1/2)/b^(5/3)/(b^(1/3)*x+a^(1/3)*(1+3^(1/
2)))+12/91*3^(1/4)*a^(7/3)*e*(a^(1/3)+b^(1/3)*x)*EllipticE((b^(1/3)*x+a^(1/3)*(1-3^(1/2)))/(b^(1/3)*x+a^(1/3)*
(1+3^(1/2))),I*3^(1/2)+2*I)*(1/2*6^(1/2)-1/2*2^(1/2))*((a^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/(b^(1/3)*x+a^(1
/3)*(1+3^(1/2)))^2)^(1/2)/b^(5/3)/(b*x^3+a)^(1/2)/(a^(1/3)*(a^(1/3)+b^(1/3)*x)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))
^2)^(1/2)-4/85085*3^(3/4)*a^2*(a^(1/3)+b^(1/3)*x)*EllipticF((b^(1/3)*x+a^(1/3)*(1-3^(1/2)))/(b^(1/3)*x+a^(1/3)
*(1+3^(1/2))),I*3^(1/2)+2*I)*(1547*b*d-728*a*g-1870*a^(1/3)*b^(2/3)*e*(1-3^(1/2)))*(1/2*6^(1/2)+1/2*2^(1/2))*(
(a^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)/b^(7/3)/(b*x^3+a)^(1/2)/(a^(1
/3)*(a^(1/3)+b^(1/3)*x)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 1.42, antiderivative size = 681, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 9, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.257, Rules used = {1826, 1836, 1888, 1594, 1886, 261, 1878, 218, 1877} \[ -\frac {4\ 3^{3/4} \sqrt {2+\sqrt {3}} a^2 \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (-1870 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-728 a g+1547 b d\right ) F\left (\sin ^{-1}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{85085 b^{7/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {24 a^2 e \sqrt {a+b x^3}}{91 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {12 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{7/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{91 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2 a \sqrt {a+b x^3} (5 b c-2 a f)}{45 b^2}+\frac {6 a x \sqrt {a+b x^3} (17 b d-8 a g)}{935 b^2}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b} \]

Antiderivative was successfully verified.

[In]

Int[x^2*Sqrt[a + b*x^3]*(c + d*x + e*x^2 + f*x^3 + g*x^4),x]

[Out]

(2*a*(5*b*c - 2*a*f)*Sqrt[a + b*x^3])/(45*b^2) + (6*a*(17*b*d - 8*a*g)*x*Sqrt[a + b*x^3])/(935*b^2) + (6*a*e*x
^2*Sqrt[a + b*x^3])/(91*b) + (2*a*f*x^3*Sqrt[a + b*x^3])/(45*b) + (6*a*g*x^4*Sqrt[a + b*x^3])/(187*b) - (24*a^
2*e*Sqrt[a + b*x^3])/(91*b^(5/3)*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) + (2*x^2*Sqrt[a + b*x^3]*(12155*c*x + 99
45*d*x^2 + 8415*e*x^3 + 7293*f*x^4 + 6435*g*x^5))/109395 + (12*3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(7/3)*e*(a^(1/3) +
b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE[A
rcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(91*b^(5/3)*S
qrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]) - (4*3^(3/4)*Sqrt[
2 + Sqrt[3]]*a^2*(1547*b*d - 1870*(1 - Sqrt[3])*a^(1/3)*b^(2/3)*e - 728*a*g)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/
3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a
^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(85085*b^(7/3)*Sqrt[(a^(1/3)*(a^(1/
3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3])

Rule 218

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(2*Sqr
t[2 + Sqrt[3]]*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3
])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[(s*(s + r*x))/((1 + Sqr
t[3])*s + r*x)^2]), x]] /; FreeQ[{a, b}, x] && PosQ[a]

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 1594

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^
(q - p) + c*x^(r - p))^n, x] /; FreeQ[{a, b, c, p, q, r}, x] && IntegerQ[n] && PosQ[q - p] && PosQ[r - p]

Rule 1826

Int[(Pq_)*((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], i}, Simp[(
c*x)^m*(a + b*x^n)^p*Sum[(Coeff[Pq, x, i]*x^(i + 1))/(m + n*p + i + 1), {i, 0, q}], x] + Dist[a*n*p, Int[(c*x)
^m*(a + b*x^n)^(p - 1)*Sum[(Coeff[Pq, x, i]*x^i)/(m + n*p + i + 1), {i, 0, q}], x], x]] /; FreeQ[{a, b, c, m},
 x] && PolyQ[Pq, x] && IGtQ[(n - 1)/2, 0] && GtQ[p, 0]

Rule 1836

Int[(Pq_)*((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, With[{Pqq =
Coeff[Pq, x, q]}, Dist[1/(b*(m + q + n*p + 1)), Int[(c*x)^m*ExpandToSum[b*(m + q + n*p + 1)*(Pq - Pqq*x^q) - a
*Pqq*(m + q - n + 1)*x^(q - n), x]*(a + b*x^n)^p, x], x] + Simp[(Pqq*(c*x)^(m + q - n + 1)*(a + b*x^n)^(p + 1)
)/(b*c^(q - n + 1)*(m + q + n*p + 1)), x]] /; NeQ[m + q + n*p + 1, 0] && q - n >= 0 && (IntegerQ[2*p] || Integ
erQ[p + (q + 1)/(2*n)])] /; FreeQ[{a, b, c, m, p}, x] && PolyQ[Pq, x] && IGtQ[n, 0]

Rule 1877

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[((1 - Sqrt[3])*d)/c]]
, s = Denom[Simplify[((1 - Sqrt[3])*d)/c]]}, Simp[(2*d*s^3*Sqrt[a + b*x^3])/(a*r^2*((1 + Sqrt[3])*s + r*x)), x
] - Simp[(3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]*Elli
pticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]])/(r^2*Sqrt[a + b*x^3]*Sqrt[(s*(
s + r*x))/((1 + Sqrt[3])*s + r*x)^2]), x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && EqQ[b*c^3 - 2*(5 - 3*Sqrt[3
])*a*d^3, 0]

Rule 1878

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a,
 3]]}, Dist[(c*r - (1 - Sqrt[3])*d*s)/r, Int[1/Sqrt[a + b*x^3], x], x] + Dist[d/r, Int[((1 - Sqrt[3])*s + r*x)
/Sqrt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]

Rule 1886

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[Coeff[Pq, x, n - 1], Int[x^(n - 1)*(a + b*x^n)^p, x
], x] + Int[ExpandToSum[Pq - Coeff[Pq, x, n - 1]*x^(n - 1), x]*(a + b*x^n)^p, x] /; FreeQ[{a, b, p}, x] && Pol
yQ[Pq, x] && IGtQ[n, 0] && Expon[Pq, x] == n - 1

Rule 1888

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, With[{Pqq = Coeff[Pq, x, q]}, D
ist[1/(b*(q + n*p + 1)), Int[ExpandToSum[b*(q + n*p + 1)*(Pq - Pqq*x^q) - a*Pqq*(q - n + 1)*x^(q - n), x]*(a +
 b*x^n)^p, x], x] + Simp[(Pqq*x^(q - n + 1)*(a + b*x^n)^(p + 1))/(b*(q + n*p + 1)), x]] /; NeQ[q + n*p + 1, 0]
 && q - n >= 0 && (IntegerQ[2*p] || IntegerQ[p + (q + 1)/(2*n)])] /; FreeQ[{a, b, p}, x] && PolyQ[Pq, x] && IG
tQ[n, 0]

Rubi steps

\begin {align*} \int x^2 \sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right ) \, dx &=\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {1}{2} (3 a) \int \frac {x^2 \left (\frac {2 c}{9}+\frac {2 d x}{11}+\frac {2 e x^2}{13}+\frac {2 f x^3}{15}+\frac {2 g x^4}{17}\right )}{\sqrt {a+b x^3}} \, dx\\ &=\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {(3 a) \int \frac {x^2 \left (\frac {11 b c}{9}+\frac {1}{17} (17 b d-8 a g) x+\frac {11}{13} b e x^2+\frac {11}{15} b f x^3\right )}{\sqrt {a+b x^3}} \, dx}{11 b}\\ &=\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {(2 a) \int \frac {x^2 \left (\frac {11}{10} b (5 b c-2 a f)+\frac {9}{34} b (17 b d-8 a g) x+\frac {99}{26} b^2 e x^2\right )}{\sqrt {a+b x^3}} \, dx}{33 b^2}\\ &=\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {(4 a) \int \frac {-\frac {99}{13} a b^2 e x+\frac {77}{20} b^2 (5 b c-2 a f) x^2+\frac {63}{68} b^2 (17 b d-8 a g) x^3}{\sqrt {a+b x^3}} \, dx}{231 b^3}\\ &=\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {(4 a) \int \frac {x \left (-\frac {99}{13} a b^2 e+\frac {77}{20} b^2 (5 b c-2 a f) x+\frac {63}{68} b^2 (17 b d-8 a g) x^2\right )}{\sqrt {a+b x^3}} \, dx}{231 b^3}\\ &=\frac {6 a (17 b d-8 a g) x \sqrt {a+b x^3}}{935 b^2}+\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {(8 a) \int \frac {-\frac {63}{68} a b^2 (17 b d-8 a g)-\frac {495}{26} a b^3 e x+\frac {77}{8} b^3 (5 b c-2 a f) x^2}{\sqrt {a+b x^3}} \, dx}{1155 b^4}\\ &=\frac {6 a (17 b d-8 a g) x \sqrt {a+b x^3}}{935 b^2}+\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {(8 a) \int \frac {-\frac {63}{68} a b^2 (17 b d-8 a g)-\frac {495}{26} a b^3 e x}{\sqrt {a+b x^3}} \, dx}{1155 b^4}+\frac {(a (5 b c-2 a f)) \int \frac {x^2}{\sqrt {a+b x^3}} \, dx}{15 b}\\ &=\frac {2 a (5 b c-2 a f) \sqrt {a+b x^3}}{45 b^2}+\frac {6 a (17 b d-8 a g) x \sqrt {a+b x^3}}{935 b^2}+\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}-\frac {\left (12 a^2 e\right ) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{91 b^{4/3}}-\frac {\left (6 a^2 \left (1547 b d-1870 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-728 a g\right )\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx}{85085 b^2}\\ &=\frac {2 a (5 b c-2 a f) \sqrt {a+b x^3}}{45 b^2}+\frac {6 a (17 b d-8 a g) x \sqrt {a+b x^3}}{935 b^2}+\frac {6 a e x^2 \sqrt {a+b x^3}}{91 b}+\frac {2 a f x^3 \sqrt {a+b x^3}}{45 b}+\frac {6 a g x^4 \sqrt {a+b x^3}}{187 b}-\frac {24 a^2 e \sqrt {a+b x^3}}{91 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 x^2 \sqrt {a+b x^3} \left (12155 c x+9945 d x^2+8415 e x^3+7293 f x^4+6435 g x^5\right )}{109395}+\frac {12 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{7/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{91 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {4\ 3^{3/4} \sqrt {2+\sqrt {3}} a^2 \left (1547 b d-1870 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-728 a g\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{85085 b^{7/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.30, size = 158, normalized size = 0.23 \[ \frac {2 \sqrt {a+b x^3} \left (-\left (a+b x^3\right ) \sqrt {\frac {b x^3}{a}+1} \left (26 a (187 f+180 g x)-b \left (12155 c+9945 d x+33 x^2 (255 e+13 x (17 f+15 g x))\right )\right )+585 a x (8 a g-17 b d) \, _2F_1\left (-\frac {1}{2},\frac {1}{3};\frac {4}{3};-\frac {b x^3}{a}\right )-8415 a b e x^2 \, _2F_1\left (-\frac {1}{2},\frac {2}{3};\frac {5}{3};-\frac {b x^3}{a}\right )\right )}{109395 b^2 \sqrt {\frac {b x^3}{a}+1}} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*Sqrt[a + b*x^3]*(c + d*x + e*x^2 + f*x^3 + g*x^4),x]

[Out]

(2*Sqrt[a + b*x^3]*(-((a + b*x^3)*Sqrt[1 + (b*x^3)/a]*(26*a*(187*f + 180*g*x) - b*(12155*c + 9945*d*x + 33*x^2
*(255*e + 13*x*(17*f + 15*g*x))))) + 585*a*(-17*b*d + 8*a*g)*x*Hypergeometric2F1[-1/2, 1/3, 4/3, -((b*x^3)/a)]
 - 8415*a*b*e*x^2*Hypergeometric2F1[-1/2, 2/3, 5/3, -((b*x^3)/a)]))/(109395*b^2*Sqrt[1 + (b*x^3)/a])

________________________________________________________________________________________

fricas [F]  time = 0.47, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (g x^{6} + f x^{5} + e x^{4} + d x^{3} + c x^{2}\right )} \sqrt {b x^{3} + a}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2),x, algorithm="fricas")

[Out]

integral((g*x^6 + f*x^5 + e*x^4 + d*x^3 + c*x^2)*sqrt(b*x^3 + a), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt {b x^{3} + a} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2),x, algorithm="giac")

[Out]

integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)*sqrt(b*x^3 + a)*x^2, x)

________________________________________________________________________________________

maple [B]  time = 0.06, size = 1197, normalized size = 1.76 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2),x)

[Out]

g*(2/17*(b*x^3+a)^(1/2)*x^7+6/187*(b*x^3+a)^(1/2)*a/b*x^4-48/935*(b*x^3+a)^(1/2)*a^2/b^2*x-32/935*I*a^3/b^3*3^
(1/2)*(-a*b^2)^(1/3)*(I*(x+1/2*(-a*b^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2
)*((x-(-a*b^2)^(1/3)/b)/(-3/2*(-a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b))^(1/2)*(-I*(x+1/2*(-a*b^2)^(1/3
)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(
x+1/2*(-a*b^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2),(I*3^(1/2)*(-a*b^2)^(1/
3)/(-3/2*(-a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)/b)^(1/2)))+f*(2/15*(b*x^3+a)^(1/2)*x^6+2/45*(b*x^3+a
)^(1/2)*a/b*x^3-4/45*(b*x^3+a)^(1/2)*a^2/b^2)+e*(2/13*(b*x^3+a)^(1/2)*x^5+6/91*(b*x^3+a)^(1/2)*a/b*x^2+8/91*I*
a^2/b^2*3^(1/2)*(-a*b^2)^(1/3)*(I*(x+1/2*(-a*b^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/
3)*b)^(1/2)*((x-(-a*b^2)^(1/3)/b)/(-3/2*(-a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b))^(1/2)*(-I*(x+1/2*(-a
*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2)/(b*x^3+a)^(1/2)*((-3/2*(-a*b^2)^
(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*EllipticE(1/3*3^(1/2)*(I*(x+1/2*(-a*b^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^2
)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2),(I*3^(1/2)*(-a*b^2)^(1/3)/(-3/2*(-a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*
b^2)^(1/3)/b)/b)^(1/2))+(-a*b^2)^(1/3)/b*EllipticF(1/3*3^(1/2)*(I*(x+1/2*(-a*b^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^
2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2),(I*3^(1/2)*(-a*b^2)^(1/3)/(-3/2*(-a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a
*b^2)^(1/3)/b)/b)^(1/2))))+d*(2/11*(b*x^3+a)^(1/2)*x^4+6/55*(b*x^3+a)^(1/2)*a/b*x+4/55*I*a^2/b^2*3^(1/2)*(-a*b
^2)^(1/3)*(I*(x+1/2*(-a*b^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2)*((x-(-a*b
^2)^(1/3)/b)/(-3/2*(-a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b))^(1/2)*(-I*(x+1/2*(-a*b^2)^(1/3)/b+1/2*I*3
^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2*(-a*b
^2)^(1/3)/b-1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)*3^(1/2)/(-a*b^2)^(1/3)*b)^(1/2),(I*3^(1/2)*(-a*b^2)^(1/3)/(-3/2*(-
a*b^2)^(1/3)/b+1/2*I*3^(1/2)*(-a*b^2)^(1/3)/b)/b)^(1/2)))+2/9*c/b*(b*x^3+a)^(3/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {2 \, {\left (b x^{3} + a\right )}^{\frac {3}{2}} c}{9 \, b} + \int {\left (g x^{6} + f x^{5} + e x^{4} + d x^{3}\right )} \sqrt {b x^{3} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2),x, algorithm="maxima")

[Out]

2/9*(b*x^3 + a)^(3/2)*c/b + integrate((g*x^6 + f*x^5 + e*x^4 + d*x^3)*sqrt(b*x^3 + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int x^2\,\sqrt {b\,x^3+a}\,\left (g\,x^4+f\,x^3+e\,x^2+d\,x+c\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*x^3)^(1/2)*(c + d*x + e*x^2 + f*x^3 + g*x^4),x)

[Out]

int(x^2*(a + b*x^3)^(1/2)*(c + d*x + e*x^2 + f*x^3 + g*x^4), x)

________________________________________________________________________________________

sympy [A]  time = 5.69, size = 223, normalized size = 0.33 \[ \frac {\sqrt {a} d x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {4}{3} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {7}{3}\right )} + \frac {\sqrt {a} e x^{5} \Gamma \left (\frac {5}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {5}{3} \\ \frac {8}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {8}{3}\right )} + \frac {\sqrt {a} g x^{7} \Gamma \left (\frac {7}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {7}{3} \\ \frac {10}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {10}{3}\right )} + c \left (\begin {cases} \frac {\sqrt {a} x^{3}}{3} & \text {for}\: b = 0 \\\frac {2 \left (a + b x^{3}\right )^{\frac {3}{2}}}{9 b} & \text {otherwise} \end {cases}\right ) + f \left (\begin {cases} - \frac {4 a^{2} \sqrt {a + b x^{3}}}{45 b^{2}} + \frac {2 a x^{3} \sqrt {a + b x^{3}}}{45 b} + \frac {2 x^{6} \sqrt {a + b x^{3}}}{15} & \text {for}\: b \neq 0 \\\frac {\sqrt {a} x^{6}}{6} & \text {otherwise} \end {cases}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(g*x**4+f*x**3+e*x**2+d*x+c)*(b*x**3+a)**(1/2),x)

[Out]

sqrt(a)*d*x**4*gamma(4/3)*hyper((-1/2, 4/3), (7/3,), b*x**3*exp_polar(I*pi)/a)/(3*gamma(7/3)) + sqrt(a)*e*x**5
*gamma(5/3)*hyper((-1/2, 5/3), (8/3,), b*x**3*exp_polar(I*pi)/a)/(3*gamma(8/3)) + sqrt(a)*g*x**7*gamma(7/3)*hy
per((-1/2, 7/3), (10/3,), b*x**3*exp_polar(I*pi)/a)/(3*gamma(10/3)) + c*Piecewise((sqrt(a)*x**3/3, Eq(b, 0)),
(2*(a + b*x**3)**(3/2)/(9*b), True)) + f*Piecewise((-4*a**2*sqrt(a + b*x**3)/(45*b**2) + 2*a*x**3*sqrt(a + b*x
**3)/(45*b) + 2*x**6*sqrt(a + b*x**3)/15, Ne(b, 0)), (sqrt(a)*x**6/6, True))

________________________________________________________________________________________